package com.dfrobot.demo.domain.entity;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "paypal_order_transaction")
public class PaypalOrderTransaction {
    @Id
    @Column(name = "paypal_order_transaction_id")
    private Integer paypalOrderTransactionId;

    @Column(name = "paypal_order_id")
    private Integer paypalOrderId;

    @Column(name = "transaction_id")
    private String transactionId;

    @Column(name = "parent_id")
    private String parentId;

    @Column(name = "date_added")
    private Date dateAdded;

    private String note;

    private String msgsubid;

    @Column(name = "receipt_id")
    private String receiptId;

    @Column(name = "payment_type")
    private String paymentType;

    @Column(name = "payment_status")
    private String paymentStatus;

    @Column(name = "pending_reason")
    private String pendingReason;

    @Column(name = "transaction_entity")
    private String transactionEntity;

    private BigDecimal amount;

    @Column(name = "debug_data")
    private String debugData;

    @Column(name = "call_data")
    private String callData;
}